hiding error message by default