fixed test_rnn error