fixed argv bugs

argv bug that wasn't checking the parsed argv correctly