Fix

Fix bug on media config