fixed commission_type bug