trying to work out the form error