Bug fix in LCA