fixed issue with enum values