Tank purification