fix cry detect