You are overwriting the array here:
byte inc[7];
bool xmp = false;
for(int i=0;i<=7;i++)
{
inc[i] = zb.read();
}
I think you want:
byte inc[7];
bool xmp = false;
for(int i=0;i<7;i++)
{
inc[i] = zb.read();
}