fixed broken argument ttype to type