small change as .c_str() was not needed