Update amd.template

i shouldn't do things like this.