fixed bug with type-hint on node