Fix localhost ref