fix package import refs in demo programs