Small fixes to init_param