fixed media bug