fix media player issue