remove unnecessary attr_writer

because we already have attr_accessor