It's that easy...removed unnecessary environment handling for internal calls and finally fixed wrong sitemap manager