Fixed some errors in TM  reception