fixing relative paths