fixed profile so it doesn't delete page every search