Decode bugfix