Fix validation message not showing up