fixed bug in XbeeMonitor