Encode issue solved