different LOT cases and other bug solved