Fixed decode bug.