temp fix encoding