Fixed unmapped mate bug