remove duplicated code
bump version