fixed extra old img var