fixes for ads integration