fix monkey NPE