remove stale lines