fixed write job status to client