Fixed issue with purge.