fix for images and categories