[+] check type of node info
[*] replace expression
[+] exception for query method if cannot set connection
[*] code style fixes