fixed PLS formulas