use pkg attribute instead of name export