add machine error prevent