Fix Vex problems and redirect bugs