Fix policy redirect issue