fix for bug#12 - change str to unicode