fixup crash_data service in the middleware