fix close
allow insert and update of null values