correction for too big image