changed before do for any page