fixed duplication of folders