Fix purchase id.