bug fix - dead lock in TA_TypeMap