fix package change bug