Fix Advertisement error