fix patch of atd