reset data before reload