if strict mode on, some errors go through, this cleans them