fix handling of >1 precedences