fix ply loader; other adjustments