Fix bad args parsing