remove useless configs