fix error dir '~' creation and update README