change error info to console and add some info to readme