fix missing nil