Fixed the LengthChanger class