Fixed messages enconding