call path.package() instead of deprecated .path.package()