fixed a typo in amen_cross, which failed multi-input calls