some try/catch blocks for frequent wrong configs