migrate package to project if possible