fixed import and enum type