Fixed bloating db