correct image adjust logic