fix for single image