Fixed bug with header names in panels