avoid redirect fixes