fix params to clone spawn call