fix dates and headers