I've been trying to use Serial.print to see what the values are, but if I try to read the serial values and send print to the serial port to view using the Monitor it looses the connection for some reason.
My XBee shields have switches to change from having the XBee connected to the hardware serial pins to having it connected to two other pins. This way, I can use SoftwareSerial to talk to the XBee and Serial to talk to the PC/Serial Monitor. I suggest that people quit buying XBee shields that do not have this feature. It makes debugging so much easier.
Of course, I have no idea what "it" in your statement refers to, so I can't really help.