fixing service config exception