fixed purge and refresh methods