fixed editTables