made keyboard editing almsot work with table