Fix forbidden attributes error