added errorHide fixing