fixed up error for function argc