filter works, but there is bug to fix