handling command args correctly