move redirect to correct location