changed ad removal method.