removing unecessary markup