fix argc check