reset error message at new page