fix bug with use encoding