Fix decode error