remove dead code
update to v0.3.1