skip empty elements