I first check that init_config is not None but i'll make that part clearer