tweaks, remove dubs and add purge