Fixed a bug for vertx-deployment