fixed issue when path already is enclosed in quotes