fix a minor bug for JobDeclaredServlet