Fixes of surfcertids logging

- initialization fix
- partially fix of connection error when inserting, added TODO

True is boolean, "True" is string. this never worked

partially fixes #107