fixed issue with error message stickyness