fix  a  little  date  bug