fix warnings -  uses String instead char*