fix clone with filesystem