added rendering of empty elements