made friendly id work BAM