fix recent data bug