remove sl_to_cstr, use sl_borrow_cstr instead