Fix advertisement issue