make reference cell uneditable for now, fix bug when cell is not editable