fixed nadd tempalte bug
fixed code style