Fix allowed  hosts setting