remove empty candidates