avoid /./ in paths because it looks bad