Modify deploy configs
Fix bugs