Deluge fixes