Fixing routing issue for firefox