Fixed bug with helper function and update package version