image rotator bugfix