fixed bug in image service thumbs generation