wont break on empty elements