My form keeps failing when I try to preview or publish it