Split config & define file, Fix LFU's bug