fix dates and border color table