fix argument assignment