Fixing refrestTable