Setting redirect twice?