add media object and bugs fix