VID-1308 fixing DOM reference