Fix argc checking bug