fixed a stupid bug which was not updating the GUI table in the beginning