changed redirect thing