Auto patch