Fix silent crash