reverting flex changes