fix translation bug flash messages