remove erroneous flag