fix media files importing