fix thank you redirect