Removing useless stuff from config