fixed an erros with environment where www. would break it