bug fix (duplicate images)