deleting comments of required and group