suppression warning deprecated conversion from string to char*