added field clear to handle data repeat