cleans db