bugfix with determinating node version