fixes to cell: setoutput according to cellValue variable and other fixes