fixed Duff's Device