bug fixed (minimum image part)