Fix incorrect required attributes