fix bug of not passing args