add error message to form helpers