corrected bug in the dependency to Ad