fixed the re-routing bug, while opening file from google drive interfaces