fix some hockeyapp crashes.