remove dependency on localhost