fix typo
fix nodejs state