switched decode ordering, seems to be working now