fixing option groups