Fixing wrong parameter name in redirecting in config