clearing validation errors