Fixed tlocation in SAM.cpp and Bam.cpp