bug fix args inversion