Fixes redirection routing problem