fixed NPE in a distributed environment