correct error caused by period in candidate slug