Fix enum formatting