remove unused priv structure