fixing types top