filter comment and gen