fix filterStack