Fixed a bug in generating the controvery data