fixed illegal agt-pat combinations