don't open window on error; open in browser correctly