fix addhelper to return bucket rather than array with bucket