remove localhost ref