makelemma fix

Check appropriate number of arguments in metavariable, and take
__pi_args