fix resolveDate remove bug