fix prev date