+ fixed overflow in equation solver
+ fixed the method to get the image