improve RnnWS