fixes missing value in optional enum should be valid