remove unnecessary target folder.