remove legacy function and bump version