clear duplicate stuff