Corrected bug in which ppl() whould somethimes not return anything