bugfix: form fields are no longer cleared on error