fix args unpacking