support for subpackages
bugfix
t2m: support for subpackages