remove extra slash from PATH