fixing a form error when data hasn't been put in previously.