fix bug: never modify a datetime if it can not be modivied