fix: Destructuring bug