filter api seems to be working properly now