fixed localhost reference