Utils functions to filter out menu