added reset slave
fixed params