bugfixes for image service