add redirect fix