support older node versions