Fix bug by setting server location back to localhost