Fixed error wit format date