Fix bug about P in LI