Edit link in thank you page is not working properly