moving redirect call