remove candidate codes