fixed purging all data