open image first bugfix