fix package decode bug