fix caption display and pasting
[roojs1] / undefined