fix legacy issues for cashew/scene and cashew/math