fixing purge