add GetStringSlice method
bug fix