bandaid for php HTTP_HOST error
small changes