fix:: AttributeError: 'str' object has no attribute 'decode'