debugging rnn