Fix a bug for creating the local destionation folders automatically