change the way --filter option work to be more user friendly