Fixed few warnings in BasicSolver