fix package loading