parsing argv correctly