fix for absolute redirect path