remove KEY commands for columns that don't exist anymore