fix ads on resource directory pages