modified single space edit form to handle errors better when displaying