fix smart str