flash clear to prevent the same message render more than once