bugfix for missuse of computed lsm