missing protected attribute fixed