added more info to debug crashes