fix groups view 'index' and 'show'