removed use of old flag