fix bug with making new directories for generated content