fix date difference