check public type
Merge pull request #36 from Itxaka/6.1

check public type