fix missing err to be null