Tas type bug fix