remove redirect that was causing an incorrect redirect