fixed unicodedecode error