fix conf bugs