fixed missing argv parsing