* fixed bugs with table sorting and searching