fix some local-host configurations