getTable fix, close fix