deleting unsecessary class tags