solved encoding problem