fix common redirect