fix broken duplicate plan routes