make the adapter working in AMD and node environment