some redirect modifications