add cursor to inherit attribute