small NPE fix when debugging