fixes
using bytes seems to fix the problem
make decode ignore errors