attr_accessor fix