fix the initializer to also init with tag