add reudy
debug around encoding problems