added protected_attributes
downgraded to 1.9.3