how to repir machine