fix #3, pull up to v 0.5.0