clean up meta terms after db refactoring