prevent NPE when running on slave