bug fix

findRenderFunction now works if called on a value