disable error flag