fixed minor issue with not colleying last date