fix ad bar's bug