few quick TML fixes