fix loading data, change location folder 'templates'