added debug for image issue