fix NPE
ad synchronized