pslot.c : correcting mistakes