fix variable types in LentPitShift