corrected row / column in Image class