This problem occurs because the amount of columns in the header is not checked properly This causes the problem, that the header is not expanded