bug fix with extra bytes in payload