Fix flow redirects