typo purged instead of purge, added installed ensure