tweak to destructuring
Merge pull request #11 from maxwe789/bug-fix

tweak to destructuring