support for empty elements