displaying filter correctly