independed definition of metFilter histogram and hack to suppress error message