fixed bugs in bmep and bmep_mosdef. changed id to string