fix for ads type null