avoid statement like new String(retVal.getString())
bug fix. refactor