fixed another amazon template bug