extra care to make sure paths are correct