Bug fix

fixed media session bug