change the init method  int class config.cs  in case the  config  be nul...

...l