Fix to avoid redirect.