Added flush_tbl, solved issues.