open at startup, improve error reporting