smart_text instead of smart_bytes, fixed #426