remove invalid ObjectPattern assignment