fix enumerated attributes