correcting detect system convert_to_dospath