solving config error