[OE-4448] fixed optional element rendering