cleanup path.