change clear, mkdir path if possible