Quick Fix for wrong Payload

The Payload was fixed set to the 5. entry in the inoming Data.
Changed it to the last entry of incoming Data
make debug configurable