better handling for package args