fix bad param