fixes #436 bugs when import package doesn't have category names