fix all to run on localhost