switch to localhost