set parameters in weak