fixed NPE for #1513