Fix plugin redirect