handling string_proxy as well