securing for the case when no config