fix resign multi .app directory bug