fixed error in new _leval functions