removing media migration code