don't crash if required fields aren't filled out, show error instead