fixing a NPE in a debug log :D