fixed to DB purging