fix missing null argument