Fix bug for first deploy.