cleaning err fields all