fixed enum param/return type