Removing all the duplicate markup