fix leader mapping