fix connect mpd issue