eliminate difference between python and nodejs client