server build fix for enum