fixing solver