fix condition for reset and terminating fraud