rnn: added --erorr=type