fixed problem with infinite loop during testpatt elaboration with % suffix