fixed incorrect truncating in workerserver getsource (fix #55)