removing unused img tag