correct header offset and did display date selector