fix form enum type