removes duplicate links and styles record toolbar