minor change to make localhost version working