bugfix: decoding works now