Fix a bug about LCA