hack to add inlined elements