flags fixed