IDEA-80056 cleanup
IDEA-80056 npe fix