fix bug that removed error class from message after first submit