removed type bug