fix regularization bugs in rnnemb