fixed decoding error