fix #1832: clear other messages before displaying success message