fix product type form bug