fix ViewDocRi command