fix package splitting