Fix front pae
Dynamic header based on table contents