filter now works properly for the share mode