fixed error - null enum type