added dev check for filter