fix a regression issue

  candidate detail page exception