Fix bug in clan loader