Fixed bug with creation of SProc Object and params