remove unnecessary images/links