fix required fields and group lessons