update the version to 1.0.5, improve some output