purge links module directory; restore MediaSpec