argv validation