stop using flex