get rid of redirect