fix media player bug
fix some bugs