fix deploy error and update .gitignore