bugfix: add package prefix only for custom types