fight with encoding