setting active field as true if it is null