refactor path things