expose struct fields
fix enums