helpers should be gone
Fixing socket errors