Resolved issue with protected attributes