checking of date correction