fix installer + improve error reporting