fix a regression issue

  candidate detail page exception
Merge pull request #157 from Chunjie/master

fix a regression issue