fix the bug that results from the ignorace of lig in the S.D,L.D,S.S,L.S