fixing decoding symbols