Fixed li-removal problem