fix for images problem