fix argCount causing exceptions