before data reload