setting node version to required format