nonstandard enum fix