bugfix in cub* methods