internally node throws an error