bugfix for image