remove unneeded flag