fix attr_reader