Fixing redirect policy