build: correction to ensure old data is removed.