fixed copying components folder bug