corrected bugs when moving files to vendor folder