fix comments of type kind being included in the result