fix withArgs when empty array passed