allowed host template error resolved