fix ups of bad paths