fixed blank cells
fixed image ratio calculation