fixed redirect error in whitelist export