fixed NPE on chestlogging