fixed crash with throwables