updated for new ospray but now its crashing