fix broken dependencies: use destructuring assignments