error handling when packages are not found