fix bug in template generator when creating stores
0.2.21