corrected enum type