Fixed redirect bug after click on export button.