fix memory leak of NSDates