Fixing LC solver