Fix bad error in Decode