fixed config now fixing other bugs