fix decode error