set errors true