dont render type if there is no type