corrects major problem in init_params