connection available on Scan form + fixes + tests