tidy up check for completed tags