fix safety application initialization