fixed debug logs in os x crashes