fix another npe in PL