fix bugs in methods to run TLM