Fixed bug when displaying error message on contact form