fix midisrc bug