[FIX] crash on bad difficulty