remove global handlers
cands => candidates