added automatic call when reaches end of uitable