fixed an issue with thank you showing up