fix Mediaplayer errors