fix date picker empty space bug