try to avoid decoding errors