Fixed the bugs in fraud detection.