Decoding seems to be working flawlessly. Bug with Encoding