Fixed error messages with form