Issue #6 fix using c_str()