Solved some problems with tabletUI