fixed NPE in PExecutor