So my bike had trouble idling the other day, and the next morning it revved super high, and finally settled in around 4000 RPM, then wouldn't start for a while. Later on, it started up again, and would not rev at all, just idled at 4krpm

Found that the cap on top of the carb had come off, so I screwed it back on.
engine hose.jpgengine hose.jpg
Then I found a hose coming off the engine with nowhere to go, and an second one coming from the air filter.

What the heck is going on????
Thanks!