fixed issue with mpd.