fix for enum