Thank you message is not displayed correctly