refine alert and go back to the right account