remove invalid ObjectPattern destructuring assignment