remove `-elements` from dependency paths