fix for sockshostname