remove leo flags