fix bug: info showed in the table in the main windows is incorrect