fix for deprecated packages