add teh ability to remove flags lines