Fix next missing in redirect