fix TMHMM script