trying to fix encoding problem