fixing types