fixed API to add redirect on LeaderC