fixed problem with date headers