fixes paths.