fix errors in order to have a correct configuration (icinga works)