fix bug with edit form example