fix remove alert bug