remove old flag