minor fix to mts fn