fixed localhost refs