Thank you text not showing as expected