issue with filtering and tabs