I did look at the docs and the helpline before I even started to try optimizeRender. Damn error message just won't go away!!