Fix bug and adding PublishNewAdd template
fix