fix the wrong expression and change the image size