added support for <space> element