fixed NSDate warnings