added drawOptionAttribute to hist