Minor bugfix in order to make inserting data into table work