fix of image resolution counting