Fixes path issues.