check the var "result" before updateDC, make sure the value is between 0~99