clean server folder before reset head