Fix studioactionobject

two bugs.