fix for redirect issue

who thinks this is baller?