new table head and bugfixes