continue the previous fix that causes candidate editing's crash

Signed-off-by: Henry Chen <hchen@vmware.com>
Merge pull request #134 from Henry-CF/candidate

continue the previous fix that causes candidate editing's crash