update terror to 0.4.x
release 0.5.0