handling const string proxy. closes #32