bug fix in media player