       catch {
         // couldn't write to the trace output file
         if let act = managerCallback {
-          act.performAction(["status":VehicleManagerStatusMessage.trace_SINK_WRITE_ERROR.rawValue] as Dictionary)
+          act.performAction(["status":VehicleManagerStatusMessage.trace_SINK_WRITE_ERROR.rawValue] as NSMutableDictionary)
         }
       }
       
     } else {
       // couldn't find trace output file
       if let act = managerCallback {
-        act.performAction(["status":VehicleManagerStatusMessage.trace_SINK_WRITE_ERROR.rawValue] as Dictionary)
+        act.performAction(["status":VehicleManagerStatusMessage.trace_SINK_WRITE_ERROR.rawValue] as NSMutableDictionary)
       }
     }
     

        } else {
          // what the heck is it??
          if let act = managerCallback {
            act.performAction(["status":VehicleManagerStatusMessage.ble_RX_DATA_PARSE_ERROR.rawValue] as Dictionary)
          }
       
        }

        traceFilesourceTimer.invalidate()
        // notify the client app if the callback is enabled
        if let act = managerCallback {
          act.performAction(["status":VehicleManagerStatusMessage.trace_SOURCE_END.rawValue] as NSMutableDictionary)
        }
      }
      
