added attr_accessibles
fixed typo