correcting gearman servername ip code