fixes number of parameters in setstimuli