Fixes allowedhost error.