 									currentjob._takenby = host
 									currentjob._status = "working"
 									currentjob._lastchange = ~~((new Date).getTime() / 1000)
+									currentjob._lastseen = ~~((new Date).getTime() / 1000)
 									delete currentjob._otherhost?[host]
 							else # create a ghosth job
 								console.log "creating ghost job",jobId,"for", host

									_id : jobId,
									_rev : jobRv,
									_status : "working",
									_lastchange : ~~((new Date).getTime() / 1000)
								}

					# Assigned jobs but not working
					for item in assigned

							else # kill the ghost job
								workque = workque.filter (obj)->
									return obj._id isnt item

					resyncQueue() if sendsync
				return
			return r
