fixing issue with local config