remove unneeded FLAGS