better, but still crashes