removing redirect