fix bad paths