better error state.
removed redundant error log.
updated docs.