now tables are working good