remove references to localhost