another attempt to fix encoding