remove repeatable elements