clean up before mkdir in case that old version files are keeped