remove candidate tables first