fix date not display bugs