Fixing localhost issue