fixed problematic attr_accessor