Fix the bug in LE enable / disable scenario