remove stale lines from the .meta file