does it need to be text_type there? why not just unicode?