fix bug in handsontable