Fixes localhost settings