Operetta length units bug fix